package top.melody.ecommerce.platform.api.domain.system;

import java.io.Serializable;

import top.melody.ecommerce.common.util.reflect.ReflectUtil;

import java.util.Date;


/**
 * @author: melody
 * @groupId:rd
 * @createdate:2016-10-18
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since: 1.0
 */
public class SysBanners implements Serializable {

    /* 自增ID */
    private Integer bannerId;
    /* 图片提示文字 */
    private String bannerTitle;
    /* 图片存储在服务器的路径 */
    private String bannerUrl;
    /* 图片外链接 */
    private String bannerOuterUrl;
    /* 有效：VALID;无效:INVALID */
    private String validStatus;
    /* 已删除：Y;未删除：N */
    private String removeStatus;
    /* 创建时间 */
    private Date createDate;
    /* 最近更新时间 */
    private Date updateDate;

    public SysBanners() {

    }

    public SysBanners(Integer bannerId, String bannerTitle, String bannerUrl, String bannerOuterUrl, String validStatus, String removeStatus, Date createDate, Date updateDate) {
        this.bannerId = bannerId;
        this.bannerTitle = bannerTitle;
        this.bannerUrl = bannerUrl;
        this.bannerOuterUrl = bannerOuterUrl;
        this.validStatus = validStatus;
        this.removeStatus = removeStatus;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }

    public Integer getBannerId() {
        return bannerId;
    }

    public void setBannerId(Integer bannerId) {
        this.bannerId = bannerId;
    }

    public String getBannerTitle() {
        return bannerTitle;
    }

    public void setBannerTitle(String bannerTitle) {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerOuterUrl() {
        return bannerOuterUrl;
    }

    public void setBannerOuterUrl(String bannerOuterUrl) {
        this.bannerOuterUrl = bannerOuterUrl;
    }

    public String getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(String validStatus) {
        this.validStatus = validStatus;
    }

    public String getRemoveStatus() {
        return removeStatus;
    }

    public void setRemoveStatus(String removeStatus) {
        this.removeStatus = removeStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return ReflectUtil.fieldsToString(this);
    }
}
